<?xml version="1.0" encoding="UTF-8" ?>

<html xmlns="http://www.w3.org/1999/xhtml"
	xmlns:h="http://java.sun.com/jsf/html"
	xmlns:f="http://java.sun.com/jsf/core"
	xmlns:c="http://java.sun.com/jsp/jstl/core"
	xmlns:p="http://primefaces.org/ui"
	xmlns:ui="http://java.sun.com/jsf/facelets">

<h:body>
	<ui:composition template="../templates/general.xhtml">
		<ui:define name="content">

			<h2 class="page-header">
				<i class="fa fa-bar-chart-o  fa-3"></i> Estatísticas
			</h2>
			
			<h:panelGrid columns="2" columnClasses="left,right" style="width:100%">
    			<p:chart type="bar" model="#{statisticsBean.statisticsAlunos}" style="height:300px"/>
				<p:chart type="bar" model="#{statisticsBean.statisticsGrupos}" style="height:300px"/>
			</h:panelGrid>
			
			<h2 class="page-header">
				<i class="fa fa-bell fa-3"></i> Notificações
			</h2>
			
		</ui:define>
	</ui:composition>
</h:body>
</html>
